package com.ruoyi.work.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 签名对象 work_signature
 *
 * @author fengcheng
 * @date 2025-03-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class WorkSignature extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 签名id
     */
    private Long signatureId;

    /**
     * 部门id
     */
    private Long deptId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private String userName;

    /**
     * 签名名称
     */
    @Excel(name = "签名名称")
    private String name;

    /**
     * 签名图片
     */
    @Excel(name = "签名图片", cellType = Excel.ColumnType.IMAGE, height = 50)
    private String imgUrl;
}
